#pragma once
#include "splitter.h"
#include <set>

namespace Pdf
{
	class Splitter::Inserter : public VisitorT<DefaultNone>
	{
	public:
		Inserter(OutputDocument *document, Splitter *splitter);

	private:
		virtual void     __fastcall visited(Array *obj);
		virtual void     __fastcall visited(Names *obj);
		virtual void     __fastcall visited(Dictionary *obj);
		virtual void     __fastcall visited(Reference *obj);

		OutputDocument*             document;
		Splitter*                   splitter;
	};
}

#include "splitter_inserter.inl"